package com.leha.core.services;

import com.leha.core.entity.mybatis.LhGameLog;
import com.leha.core.entity.mybatis.LhGjylImgs;
import com.leha.core.entity.mybatis.LhGjylQuestion;
import com.leha.core.entity.mybatis.LhReward;
import com.leha.core.entity.vo.ImgAndQuestions_;
import com.leha.core.entity.vo.ImgsAndQuestionsVO;

import java.util.List;

public interface GameZZLDSServices {
    List<ImgsAndQuestionsVO> getQuestions(Integer uid);
    Boolean checkQuestionAnswer(Integer qid, Integer choose);
    List<LhGameLog> getCanExchangeGameLog(Integer uid);

    List<LhGjylImgs> getImages4Admin(Integer pgNum, Integer pgSize);
    List<LhGjylQuestion> getQuestions4Admin(Integer pgNum, Integer pgSize, Integer imgId, String query);

    LhGjylImgs SaveImgs(Integer imgId, String url);

    Boolean SaveQuestion(LhGjylQuestion question);

    LhGjylQuestion getQuestionById4Admin(Integer questionId);

    List<LhReward> getExchanges4Admin(Integer pgNum, Integer pgSize, Integer status);

    Integer SaveRewardStatus(Integer rewardId, Integer status);
}
